import request from '@/utils/request'

export function getIncubatorList(params) {
  return request({
    url: '/incubator/list',
    method: 'get',
    params
  })
}

export function getIncubatorData(params) {
  return request({
    url: '/incubator',
    method: 'get',
    params
  })
}

export function createIncubator(params) {
  return request({
    url: '/incubator/insert',
    method: 'post',
    data: params
  })
}
export function updateIncubator(params) {
  return request({
    url: '/incubator/update',
    method: 'post',
    data: params
  })
}

export function deleteIncubator(params) {
  return request({
    url: '/incubator/delete',
    method: 'post',
    params
  })
}

export function deleteIncubatorPic(params) {
  return request({
    url: '/incubator/pic/delete',
    method: 'post',
    params
  })
}

export function getRefrigerantList(params) {
  return request({
    url: '/refrigerant/list',
    method: 'get',
    params
  })
}

export function createRefrigerant(params) {
  return request({
    url: '/refrigerant/insert',
    method: 'post',
    data: params
  })
}
export function updateRefrigerant(params) {
  return request({
    url: '/refrigerant/update',
    method: 'post',
    data: params
  })
}

export function deleteRefrigerant(params) {
  return request({
    url: '/refrigerant/delete',
    method: 'post',
    params
  })
}

export function deleteRefrigerantPic(params) {
  return request({
    url: '/refrigerant/pic/delete',
    method: 'post',
    params
  })
}

